<template>
	<view class="container">
		<!-- 状态栏 -->
		<view :class="statusBarViewClass"></view>
		<!-- 导航栏 -->
		<view class="customer-nav-view nav-sticky">
			<view class="customer-nav-left">
				<uni-icons type="back" color='#000000' size="24" @click="goBackPage"></uni-icons>
			</view>
			<view class="customer-nav-title">

			</view>
			<view class="customer-nav-right">
			</view>
		</view>
		<!-- 查询区 -->
		<view class="page-content">
			<image class="img-logo" mode="aspectFill" src="/static/image/logo.png"></image>
			<text class="desc">{{versionStr}}</text>
		</view>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	import {
		onLoad
	} from '@dcloudio/uni-app'
	const statusBarViewClass = ref("status-bar-view-2")

	const versionStr = ref("")

	onLoad(() => {
		versionStr.value = '当前版本：v' + uni.getStorageSync("curr_version")
	})

	// 返回
	const goBackPage = () => {
		uni.navigateBack()
	}
</script>

<style lang="scss">
	@import url("version.css");
</style>